package com.notepad.ui;


import com.android.volley.Response;
import com.notepad.R;
import com.notepad.common.ResponseData;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Button;


public class EmptyViewTipActivity extends Activity {
	private Button mButton;
    private Handler mHandler;



    public EmptyViewTipActivity() {
    }

    @Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.empty_view_info);
		init();
        setListener();
	}

    private void setListener() {
        mButton.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v){

                Intent intent = new Intent(EmptyViewTipActivity.this,WriteNewNoteActivity.class);
                intent.putExtra("tag", "home");
                startActivity(intent);
                finish();
            }
        });
    }

    private void init() {
		mButton = (Button) findViewById(R.id.new_button);
	}


}
